﻿using AutoMapper;
using MS.Data.API.Write.Applicant.Command;
using MS.Data.API.Write.Applicant.Command.User;
using MS.Data.Domain;

namespace MS.Data.API.Write
{
    public class MyMapper:Profile
    {
        public MyMapper()
        {
            CreateMap<XiuCommand, Permission>().ReverseMap();
            CreateMap<XiuUserCommand, User>().ReverseMap();
        }
    }
}
